﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Drawing;

namespace HtmlTo.LayoutEngine
{
    public abstract class LayoutNode
    {
        public LayoutNode()
        {
            this.Children = new List<LayoutNode>();
        }

        #region Properties

        /// <summary>
        /// <para>Bounds of this node</para>
        /// </summary>
        public Rectangle Bounds { get; set; }

        /// <summary>
        /// <para>Child elements</para>
        /// </summary>
        public List<LayoutNode> Children { get; private set; }

        #endregion
    }
}